package com.chang.bootplus.service;

import com.chang.bootplus.base.utils.ApiResponse;
import com.chang.bootplus.entity.MatrixOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chang.bootplus.po.OrderIdPO;
import com.chang.bootplus.po.OrderListPO;
import com.chang.bootplus.po.OrderPO;
import com.chang.bootplus.po.OrderSelPO;
import com.chang.bootplus.vo.OrderVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ning
 * @since 2022-01-25
 */
public interface MatrixOrderService extends IService<MatrixOrder> {


    ApiResponse<OrderVO> listOrder(OrderSelPO po);

    ApiResponse<Void> addOrder(OrderPO po);

    ApiResponse<Void> updateOrder(OrderListPO po);

    ApiResponse<Void> deleteOrder(OrderIdPO po);

    ApiResponse<Void> deliverOrder(OrderIdPO po);

    ApiResponse<Void> payOrder(OrderIdPO po);

    ApiResponse<Void> receiveOrder(OrderIdPO po);
}
